]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
shell-recorder: missing XFree
authorMaxim Ermilov <zaspire@rambler.ru>
Tue, 24 May 2011 22:46:47 +0000 (02:46 +0400)
committerMaxim Ermilov <zaspire@rambler.ru>
Wed, 25 May 2011 20:52:04 +0000 (00:52 +0400)
https://bugzilla.gnome.org/show_bug.cgi?id=650934

src/shell-recorder.c

index 6555187d43a5d74ca86c7ec6b96c786027862124..d297923e014456b23425b8c021de0d465ef77516 100644 (file)
@@ -412,6 +412,8 @@ recorder_fetch_cursor_image (ShellRecorder *recorder)
       *(guint32 *)(data + i * stride + 4 * j) = cursor_image->pixels[i * cursor_image->width + j];
 
   cairo_surface_mark_dirty (recorder->cursor_image);
+
+  XFree (cursor_image);
 }
 
 /* Overlay the cursor image on the frame. We draw the cursor image